Skip to content

Playwright test file attachment data engine - #200

Merged
mm-mcn merged 12 commits into
developfrom
PlaywrightTest-FileAttachment-DataEngine
Aug 13, 2026
Merged

Playwright test file attachment data engine#200
mm-mcn merged 12 commits into
developfrom
PlaywrightTest-FileAttachment-DataEngine

Conversation

@mm-mcn

@mm-mcn mm-mcn commented Aug 7, 2026

Copy link
Copy Markdown
  • Added Playwright test for GET /submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/attachment returns the raw binary file content
  • GetSubmodelElementFileAttachment_HandoverDocumentation_ShouldReturnBinary_WithContentTypeFromFileElement()
  • GetSubmodelElementFileAttachment_WhenElementIsNotFile_ShouldReturn400()
  • GetSubmodelElementFileAttachment_WhenElementPathDoesNotExist_ShouldReturn404()
  • GetSubmodelElementFileAttachment_WhenSubmodelDoesNotExist_ShouldReturn404()

mm-mcn added 5 commits August 7, 2026 13:51
- Created GetAllSubmodelElements_ContactInfo_With_Limit1_Expected.json to include expected results with cursor for pagination.
- Created GetAllSubmodelElements_ContactInfo_With_Limit1_And_Cursor_Expected.json to include expected results without pagination.
- Both files contain detailed contact information including roles, addresses, and communication methods.
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Test & Coverage Report

Test Results Summary

Metric Count
✅ Passed 1605
❌ Failed 0
⏭️ Skipped 0

View Detailed Test Results


Code Coverage

Unit Tests Coverage

Package Line Rate Branch Rate Complexity Health
AAS.TwinEngine.DataEngine 92% 78% 2232
Summary 92% (3620 / 3955) 78% (1480 / 1893) 2232

Minimum allowed line rate is 80%

Module Tests Coverage

Package Line Rate Branch Rate Complexity Health
AAS.TwinEngine.DataEngine 61% 43% 2232
Summary 61% (2405 / 3955) 43% (808 / 1893) 2232

@mm-mcn
mm-mcn merged commit bed2dea into develop Aug 13, 2026
10 checks passed
@mm-mcn
mm-mcn deleted the PlaywrightTest-FileAttachment-DataEngine branch August 13, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants